package cn.yunhe.entity;

import java.io.Serializable;

public class User implements Serializable {
    private int uid;
    private String name;
    private  String password;
    private int state;
    private int flag;
    private String phoneNumber;

    public User(String name, String password, int state, String phoneNumber) {
        this.name = name;
        this.password = password;
        this.state = state;
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public User(int uid, String name, String password, int state, int flag, String phoneNumber) {
        this.uid = uid;
        this.name = name;
        this.password = password;
        this.state = state;
        this.flag = flag;
        this.phoneNumber = phoneNumber;
    }

    public User() {
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }
}
